package com.skypan.booklistmainactivity.data;

import java.io.Serializable;

public class Book implements Serializable {
    private String title;
    private int imageViewId;

    public Book(String title, int imageViewId){
        this.title = title;
        this.imageViewId = imageViewId;
    }

    public int getCoverResourceId(){ return imageViewId;}

    public String getTitle() {return title;}

    public void setTitle(String title) {
        this.title = title;
    }

    public void setImageViewId(int resId){
        this.imageViewId = resId;
    }
}
